using System;
using System.Collections.Generic;
using System.Text;

namespace MyDBUtilit
{
    public class BaseDAL : IBaseDAL<BaseModel>
    {
        #region IBaseDAL<BaseModel,Key> Members

        private BaseModel InternalSelectOne(BaseModel.Key key)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public BaseModel SelectOne(string key)
        {
            return InternalSelectOne(new BaseModel.Key(int.Parse(key)));
        }

        public List<BaseModel> Select()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public int Update(BaseModel model)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public int Delete(BaseModel model)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion
    }
}
